#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

int main()
{
    printf("当前进程开始运行\n");
    //execl("/usr/bin/ls", "ls", NULL);
    execl("/usr/bin/ls", "ls", "-l", "-a", "-i", NULL);
    //execl("/usr/bin/top", "top", NULL);
    // execl("/usr/bin/ls", "ls", "--color=auto", "-l", NULL);
    exit(1);
    printf("当前进程结束!\n");
    return 0;
}
